package edu.hcmus.sow.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import edu.hcmus.sow.domain.Task;

/**
 * DAO to manage Task entities.
 * 
 */
public interface TaskDAO extends GenericDAO<Task, Integer> {
	public Task findByID(Integer id)throws DataAccessException;
	public List<Task> getTaskListByProject(Integer projectID) throws DataAccessException;	
	public List<Task> getCompletedTaskListByProject(Integer projectID, Integer time) throws DataAccessException;
	
	
}